/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.report.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

@ApiModel(value = "任务统计分析", description = "任务统计分析实体类")
public class UserTaskAnalysis {
    @ApiModelProperty(value = "部门code", name = "departmentCode", required = true)
    private String departmentCode;
    @ApiModelProperty(value = "部门名称", name = "departmentName", required = true)
    private String departmentName;
    @ApiModelProperty(value = "未完成", name = "unFinishTask", required = false)
    private Integer unFinishTask;
    @ApiModelProperty(value = "已完成", name = "finishTask", required = false)
    private Integer finishTask;
    @ApiModelProperty(value = "完成率", name = "rate", required = false)
    private BigDecimal rate;

    public UserTaskAnalysis(){
        this.unFinishTask=0;
        this.finishTask=0;
        this.rate=new BigDecimal(0);
    }
    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Integer getUnFinishTask() {
        return unFinishTask;
    }

    public void setUnFinishTask(Integer unFinishTask) {
        this.unFinishTask = unFinishTask;
    }

    public Integer getFinishTask() {
        return finishTask;
    }

    public void setFinishTask(Integer finishTask) {
        this.finishTask = finishTask;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    @Override
    public String toString() {
        return "UserTaskAnalysis{" +
                "departmentCode='" + departmentCode + '\'' +
                ", departmentName='" + departmentName + '\'' +
                ", unFinishTask=" + unFinishTask +
                ", finishTask=" + finishTask +
                ", rate=" + rate +
                '}';
    }
}
